package dshop.action;

import org.apache.log4j.Logger;

import appbase.jfinal.ext.BaseController;

public class IndexAction extends BaseController{

	private static final Logger log = Logger.getLogger(IndexAction.class);

	
	public void testJson()
	{
		String json = getPara("json", "");
		
		log.info("上传参数：json = " + json);
		
		setAttr("json", json);
		
		renderSuccess();
	}
	
	public void testJsp()
	{
		String json = getPara("json");
		
		log.info("上传参数：json = " + json);
		
		setAttr("json", json);
		
		render("index.jsp");
	}
	
}
